package com.atguigu.classes.OOPtwo;

/**
 * @program: IDEAcode
 * @description: 定义
 * @author: Mr.zjx
 * create: 2021-07-13-16-26
 **/
public abstract class Employee {
    private String name;
    private String id;
    //抽象的工作方法
    public abstract void work();

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getId() {
        return id;
    }

    public void setId(String id) {
        this.id = id;
    }
}
